@import url(./cssVars.scss);
body {
  margin: 0;
  font-size: 14px;
  font-family: var(--font-family);
  background-color: var(--body-bg);
}

#root {
  display: flex;
  margin-left: var(--side-width);
  padding: 16px;
  position: relative;
  height: 100vh;
  overflow-y: auto;
}

* {
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 1rem;
  height: 1rem;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

::-webkit-scrollbar-thumb {
  border-radius: 1rem;
  border: 5px solid transparent;
  box-shadow: inset 0 0 0 1rem rgba(var(--scrollbar-color, var(--body-color-rgb)), 0.16);
}

::-webkit-scrollbar-track {
  background: transparent;
  // background-color: red;
}

:hover::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 0 1rem rgba(var(--scrollbar-color, var(--body-color-rgb)), 0.32);
}

::-webkit-scrollbar-corner {
  background: 0 0;
}
